<template>
  <catch-table :form-create="formCreate" v-bind="table" />
</template>

<script>
  import renderTable from '@/views/render-table-form'

  export default {
    mixins: [renderTable],
    data() {
      return {
        tableFrom: '',
      }
    },
    methods: {
      tongguo(e) {
        this.$confirm('通过该审核?', '提示', {
          confirmButtonText: '确认',
          cancelButtonText: '点错了',
          type: 'warning'
        })




.then(() => {
    this.$http.put('tixian/'+e.id,{
      status:1
    }).then(res => {
          this.$message({
            type: 'success',
            message: '处理完成'
          })
          this.dialogVisible = false
          this.$refs[this.table.ref].getList()

      })



        }).catch(() => {
          this.$message({
            type: 'info',
            message: '已取消操作'
          });
        });
      }
    }
  }
</script>
